package day2.scaladay01

object MethodToFunction {
  def m1(x:Int, y:Int):Int = x+y
  def main(args: Array[String]): Unit = {
      val f1 = m1 _
      val returnVal = f1(2, 4)
      println(returnVal)
  }
}
